Repository navigation
Add Miner Dashboard - Personal stats and reward tracking (#501) - #796
Conversation
- Self-contained HTML/CSS/JS dashboard (no framework dependencies) - Real-time balance tracking via RustChain API - Transaction history display - Network status overview - Mobile-responsive design - Shareable URLs with miner_id parameter - Dark theme matching RustChain visual style Features: - Balance display (RTC tokens) - Miner information (hardware, multiplier, attestations) - Network stats (epoch, slot, enrolled miners) - Reward history table - Attestation activity monitoring API Endpoints Used: - GET /wallet/balance - GET /wallet/history - GET /api/miners - GET /epoch Bonus features implemented: - Shareable URL parameters - Mobile responsiveness - Auto-load from URL - Error handling with user-friendly messages
There was a problem hiding this comment.
Welcome to RustChain! Thanks for your first pull request.
Before we review, please make sure:
- Your PR has a
BCOS-L1orBCOS-L2label - New code files include an SPDX license header
- You've tested your changes against the live node
Bounty tiers: Micro (1-10 RTC) | Standard (20-50) | Major (75-100) | Critical (100-150)
A maintainer will review your PR soon. Thanks for contributing!
MontaEllis8
left a comment
There was a problem hiding this comment.
✅ Code Review 通过
代码审查通过,建议合并。
MontaEllis8
left a comment
There was a problem hiding this comment.
Great feature addition! The miner dashboard provides useful functionality for tracking miner stats. Consider adding:
- API error handling for edge cases
- Loading states for better UX
- Rate limiting consideration for frequent API calls
Reviewer: Jeff-Dean AI
Wallet: RTC55b7ce16ad72ec7d1f5878d82a3a90c3d3e29876
|
@Scottcjn Hi! 👋 Just wanted to bring this PR to your attention. I've completed the Miner Dashboard implementation for bounty #501. PR #796 implements all requirements:
Live Demo: Can be tested by opening in a browser All API endpoints tested and working against the live RustChain API. Ready for review! 🚀 RTC Wallet: Thanks for maintaining this project! 💪 |
|
@waterwater123 — 75 RTC payment queued (pending #799) to wallet |
…board-501 Add Miner Dashboard - Personal stats and reward tracking (Scottcjn#501)
Summary
This PR implements a self-contained miner dashboard that allows RustChain participants to track their personal stats, reward history, and network participation.
🎯 What This Dashboard Does
🚀 Usage
For Miners
scott)Shareable Link
Share your dashboard with others:
📊 API Endpoints Consumed
All endpoints are public and read-only:
GET /wallet/balance?miner_id={id}GET /wallet/history?miner_id={id}&limit=20GET /api/minersGET /epoch✅ Acceptance Criteria
🎨 Design Choices
📱 Bonus Features
🧪 Testing
Tested with live RustChain API:
📦 Files Added
🎯 Next Steps (Optional)
Future enhancements could include:
RTC Wallet:
xiaoma-minerDiscord: xiaoma
Related Issue: #501